package com.umeng.analytics.pro;

public abstract class dt {
    public dt() {

    }

    public void a(int arg1) {
    }

    public abstract int a(byte[] arg1, int arg2, int arg3) throws du;

    public abstract boolean a();

    public abstract void b(byte[] arg1, int arg2, int arg3) throws du;

    public void b(byte[] arg3) throws du {
        this.b(arg3, 0, arg3.length);
    }

    public abstract void b() throws du;

    public abstract void c();

    public int d(byte[] arg5, int arg6, int arg7) throws du {
        int v0;
        int v1;
        for(v0 = 0; v0 < arg7; v0 += v1) {
            v1 = this.a(arg5, arg6 + v0, arg7 - v0);
            if(v1 <= 0) {
                throw new du("Cannot read. Remote side has closed. Tried to read " + arg7 + " bytes, but only got " + v0 + " bytes. (This is often indicative of an internal error on the server side. Please check your server logs.)");
            }
        }

        return v0;
    }

    public void d() throws du {
    }

    public byte[] f() {
        return null;
    }

    public int g() {
        return 0;
    }

    public int h() {
        return -1;
    }

    public boolean i() {
        return this.a();
    }
}

